﻿using System.Web.Security;

namespace Comdiv.QWeb.SystemActions {
	[Action("qweb.logout", Help = "EN: used to logout if forms used")]
	public class LogoutAction : ActionBase {
		protected override object process() {
			FormsAuthentication.SignOut();
			FormsAuthentication.RedirectToLoginPage();
			return null;
		}
	}
}